//
//  BaseViewController.h
//  parent
//
//  Created by 闫珍 on 15/8/7.
//  Copyright (c) 2015年 ci123. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface BaseViewController : UIViewController
//@property (nonatomic,retain)UIView *nav;
//@property (nonatomic,retain)UIView *navBackView;
//@property (nonatomic,retain)UILabel *navTitle;
@property (nonatomic,retain)MBProgressHUD *hud;
//HUD加载提示
- (void)showHud:(NSString *)title isDim:(BOOL)isDim;
- (void)showHudComplete:(NSString *)title success:(BOOL)success;
- (void)ShowExclaHud:(NSString *)title;
- (void)ShowExclaHud2:(NSString *)title;
- (void)hideHud2;
- (void)CustomBackButton;
- (UIButton *)createNavRightButton:(NSString *)showName target:(id)target action:(SEL)action;
@end
